package com.aliyun.messagemgt.dto.vo;

import com.aliyun.messagemgt.common.dto.base.PageQuery;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.util.List;

/**
 * @author
 * @date
 */
public class PendingEventQueryVO extends PageQuery {

    private String timeStart;

    private String timeEnd;

    private String userOrPlan;

    private String ascOrDesc;

    private List<String> ownerDepts;

    private List<String> pushChannels;

    private String orderBy;

    private List<Integer> stateHandles;

    private String roleCode;

    public String getTimeStart() {
        return timeStart;
    }

    public PendingEventQueryVO setTimeStart(String timeStart) {
        this.timeStart = timeStart;
        return this;
    }

    public String getTimeEnd() {
        return timeEnd;
    }

    public PendingEventQueryVO setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
        return this;
    }

    public String getUserOrPlan() {
        return userOrPlan;
    }

    public void setUserOrPlan(String userOrPlan) {
        this.userOrPlan = userOrPlan;
    }

    public String getAscOrDesc() {
        return ascOrDesc;
    }

    public void setAscOrDesc(String ascOrDesc) {
        this.ascOrDesc = ascOrDesc;
    }

    public List<String> getOwnerDepts() {
        return ownerDepts;
    }

    public PendingEventQueryVO setOwnerDepts(List<String> ownerDepts) {
        this.ownerDepts = ownerDepts;
        return this;
    }

    public List<String> getPushChannels() {
        return pushChannels;
    }

    public PendingEventQueryVO setPushChannels(List<String> pushChannels) {
        this.pushChannels = pushChannels;
        return this;
    }

    public String getOrderBy() {
        return orderBy;
    }

    public PendingEventQueryVO setOrderBy(String orderBy) {
        this.orderBy = orderBy;
        return this;
    }

    public List<Integer> getStateHandles() {
        return stateHandles;
    }

    public PendingEventQueryVO setStateHandles(List<Integer> stateHandles) {
        this.stateHandles = stateHandles;
        return this;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public PendingEventQueryVO setRoleCode(String roleCode) {
        this.roleCode = roleCode;
        return this;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
